<?php if (!defined('THINK_PATH')) exit();?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<title><?php echo ($name); ?></title>
<script src="__APP__/statics/jquery-1.9.1.min.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="__APP__/statics/css/jNotify.jquery.css" />
<script type="text/javascript" src="__APP__/statics/jNotify.jquery.js"></script>
<style>
 body{font-family:"微软雅黑";font-size:12px;color:#666666;background-color:#F9F9F6}
 *{margin: 0;} 
 a{text-decoration:none}
 img{border:0px}
.cat{background-color:#F9F9F6;margin-left:10px;z-index:0;}
.cat_list:hover{background-color:#fff;}
.title{background:url("__APP__/statics/tbg.gif");font-weight:bold}

#save{text-align:center;border:0;width:100%;height:40px;background-color:#fff;position:fixed;left:0px;bottom:0px;z-index:999;border:1px solid #DFDFDF;background-color:#DFDFDF;padding:5px;height:20px}
</style>
<body>
 <script type="text/javascript" charset="utf-8">window.UEDITOR_HOME_URL= "__PUBLIC__/ueditor/";</script>
 <script type="text/javascript" charset="utf-8" src="__PUBLIC__/ueditor/editor_config.js"></script>
 <script type="text/javascript" charset="utf-8" src="__PUBLIC__/ueditor/editor_all.js"></script>

<form method="POST" action="__URL__/payment/?action=save&id=<?php echo ($payment["id"]); ?>">
	<table border="0" width="100%" id="table1">
		<tr>
			<td align="right">文章标题：</td>
			<td><input type="text" name="title" size="20" value="<?php echo ($payment["title"]); ?>"></td>
		</tr>
		<tr>
			<td align="right">是否显示：</td>
			<td>
<?php if($payment["disable"] == 'f'): ?><input type="radio" value="f" checked name="disable">是
				<input type="radio" value="t" name="disable">否
<?php else: ?>
				<input type="radio" value="f" name="disable">是
				<input type="radio" value="t" checked name="disable">否<?php endif; ?>
			</td>
		</tr>
		<tr>
			<td align="right">文章内容：</td>
			<td><textarea id="contents" name="contents"><?php echo ($payment["content"]); ?></textarea></td>
		</tr>
	</table>
	<div id="save"><input type="submit" value="保存修改" name="B1"></div>
</form>

<SCRIPT type="text/javascript">  
    var editor = new UE.ui.Editor({
    initialFrameHeight:240
	,initialFrameWidth:800
}); 
    editor.render("contents");  
</SCRIPT>